home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000286_fdc@sesame.cc.columbia.edu_Mon Sep 22 12:30:35 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2003-11-18
|
2KB
|
61 lines
Article: 14529 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send command failed but file was sent?
Date: 22 Sep 2003 12:30:24 -0400
Organization: Columbia University
Lines: 44
Message-ID: <bkn830$bll$1@sesame.cc.columbia.edu>
References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064248225 2391 128.59.59.56 (22 Sep 2003 16:30:25 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 16:30:25 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14529
In article <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>,
Jun Zhang <nugulus@netscape.net> wrote:
: In the DELIVER script, a piece of the code,
:
: AUTODIAL
: if fail continue
: out kermit\13
: input 10 >
: out receive\13
: input 10 KERMIT READY
: pause 1
: send \%1
: if success break
:
: Each time the file was sent to the remote host OK, and I can view the
: content of the file, but the if statement didn't break the loop.
:
This sequence is supposed to be inside a FOR loop. Is it?
Maybe you made a typing error that changed the script in some way. Please
proofread it. If you can't find any mistake, then send a copy of your
entire script to kermit-support@columbia.edu.
: Another puzzle is that the remote shell always show up, even though I
: "set dial connect off".
:
I suspect the script just showing you its automated dialog with the shell.
In that case, just add:
set input echo off
and you won't see the dialog.
: I got something like "# receive --- not found", since receive is not a
: shell command. But again, file is transfered.
:
Does the remote computer start a Kermit program when it is given a "kermit"
command at its shell prompt? Does the remote Kermit's prompt end with ">"?
Please read the scripting tutorial again. You have to make the script do
exactly what your eyes, hands, and brain do when you perform the same task
interactively.
- Frank